.container{
  //height: 100vh;
  //width: 100%;
  flex: 1;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  align-content: center;
  justify-content: center;
  //border: 1px solid red;
}


.leftBox{
  width: 300px;
  height: calc(100vh - 10px);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  align-content: center;
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
  .top {
    width: 100%;
    padding: 20px;
    font-weight: bold;
    font-size: 28px;
    box-sizing: border-box;
    display: flex;
    align-items: center; /* 垂直居中 */
    justify-content: space-between;
  }

  .top__title {
    margin: 0; /* 移除默认的标题边距 */
  }

  .top__button {
    /* 可以在这里添加针对按钮的特定样式 */
  }

  .bottom{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .deviceItem {
    margin: 5px 0;
    width: 95%;
    height: 60px;
    font-size: 14px;
    box-sizing: border-box;
    border-radius: 6px;
    color: #333333;
    background-color: #f1f8fc;
    line-height: 60px;
    transition: background-color 0.3s ease; /* 添加过渡动画 */
    cursor: pointer;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 10px;
    &:hover {
      border: #434bec 1px solid;
    }

    &--connected {
      background-color: #4CAF50; /* 连接成功时的背景颜色 */
      color: white; /* 文字颜色 */
    }
    &--selected {
      background-color: blue; /* 设置选中的背景颜色 */
      color: white; /* 设置选中的文字颜色 */
    }
  }
}

.rightBox{
  flex: 1;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
  justify-content: center;
}

.rightTop{
  width: calc(100% - 10px);
  height: calc(100vh - 305px);
  border-radius: 6px;
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
  display: flex;
  flex-direction: column;
  align-items: center; /* 水平居中 */
  //padding: 10px; /* 添加内边距 */
  box-sizing: border-box;
  .inputGroup {
    display: flex;
    align-items: center;
    margin-bottom: 10px; /* 在每个输入组之间添加间距 */
  }

  .buttonGroup {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* 将按钮置于右侧 */
    width: 100%; /* 使按钮组占据整个宽度 */
    margin-top: 10px; /* 与上面的输入组之间留出空间 */
  }
}

.rightBottom{
  padding-top: 10px;
  box-sizing: border-box;
  width: calc(100% - 10px);
  height:300px;
  border-radius: 6px;
  overflow: hidden;
}